<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        
<!--        <link type="text/css" rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">-->
<!--        <link type="text/css" rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/ui-lightness/jquery-ui.css">-->
<!--        <link type="text/css" rel="stylesheet" href="/static/css/smoothness/jquery-ui-1.8.18.custom.css">-->
        <link type="text/css" rel="stylesheet" href="/static/css/start/jquery-ui-1.8.24.custom.css">
<!--        <link type="text/css" rel="stylesheet" href="/static/css/redmond/jquery-ui-1.8.23.custom.css">-->
<!--        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>-->
        <script src="/static/javascript/jquery-1.7.2.js"></script>
<!--        <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>-->
        <script src="/static/javascript/jquery-ui-1.8.18.custom.min.js"></script>
        <script src="/static/javascript/basic.js"></script>
        <link type="text/css" rel="stylesheet" href="/static/css/style.css">
        {% block extra_libraries %}{% endblock %}
        <title>{% block title %}{{ page_title }}{% endblock %}</title>
    </head>

    <body>
        <div id="header">
            <div id="logo">
                <h1><a href="/" class="index">KhusKa</a></h1>
            </div>
            <div id="menu">
                <ul>
                    {% if admin_user %}
                    <li><a href="/admin/members">Admin</a></li>
                    {% endif %}
                    {% if user_valid %}
                    <li><a href="/projects" class="index">Projects</a></li>
                    {% endif %}
                    <li>
                        <div id="load" align="center" class='hide' title="Loading...">
                            <span>
                                <img src="/static/images/loading.gif" alt="Loading...">
                            </span>
                        </div>
                    </li>
                </ul>
                <ul class="right">
                    <li id="id_current_user" val="{{ user.nickname }}"><a>{{ user.nickname }}</a> </li>
                    <li><a href="{{ logout_url|escape }}">Signout</a></li>
                </ul>
            </div>
        </div>
        <div id="page-outer">
            <div id="page">
                <div id="content">
                    <div class="post">
                        {% block content %}
                        {% endblock %}
                    </div>
                </div>
                <div class="clearboth"></div>
            </div>
        </div>
        
        {% block sidebar %}
        {% endblock %}
      
        {% block javascript %}
        {% endblock %}
    </body>
</html>
